import request from '@/utils/request'

// 查询【请填写功能名称】列表
export function listGroupCombination(Id) {
  return request({
    // url: '/system/group_combination/scaleId='+Id,
    url:`/system/group_combination/${Id}`,
    method: 'get',
  })
}

// 新增【请填写功能名称】
export function addGroupCombination(data) {
  return request({
    url: '/system/group_combination/addGroupCombination',
    method: 'post',
    data: data
  })
}

// 修改【请填写功能名称】
export function updateCombination(data) {
  return request({
    url: '/system/groupCombination',
    method: 'put',
    data: data
  })
}

// 删除单条的数据
export function delGroupCombination(id) {
  return request({
    url: `/system/group_combination/delete/${id}`,
    method: 'delete'
  })
}

// 清空组合
export function remove(id) {
  return request({
    url: '/system/groupCombination/remove?scaleId=' + id,
    method: 'delete'
  })
}